package org.example.adapter.web;

import com.alibaba.cola.dto.SingleResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ops")
public class OpsController {

    @GetMapping("/helloWorld")
    public SingleResponse<String> helloWorld() {
        return SingleResponse.of("Hello, welcome to COLA world!");
    }
}
